projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6835fcf
)
Replaced && with || for POPCNT checks to fix the logic.
author
scherek
<scherek@outlook.com>
Sat, 12 Jun 2021 15:32:19 +0000
(17:32 +0200)
committer
scherek
<scherek@outlook.com>
Sat, 12 Jun 2021 15:32:19 +0000
(17:32 +0200)
gtk/gtkpopcountprivate.h
patch
|
blob
|
history
diff --git
a/gtk/gtkpopcountprivate.h
b/gtk/gtkpopcountprivate.h
index 3862f5cb24178d19697ae5cfbd9da716aeee0581..38c4d6f95e670e2981ede9b63833395635d9f2c0 100644
(file)
--- a/
gtk/gtkpopcountprivate.h
+++ b/
gtk/gtkpopcountprivate.h
@@
-20,7
+20,7
@@
#pragma once
-#if defined(_MSC_VER) && !defined(_M_ARM) && !defined(_M_ARM64) && defined(__AVX__)
&& defined(__SSE4_2__) &&
defined(__POPCNT__)
+#if defined(_MSC_VER) && !defined(_M_ARM) && !defined(_M_ARM64) && defined(__AVX__)
|| defined(__SSE4_2__) ||
defined(__POPCNT__)
#include <intrin.h>
static inline guint